<template>
	<view>
		<u-navbar title-color="#333" title-bold title-size="36" title="兑换成功" :border-bottom="false"
			:background="{backgroundColor: '#ffffff'}"></u-navbar>
			
		<view class="flex flex_cen u-m-t-80">
			<view class="">
				<image class="jf-s" src="../../static/img/home/jf-s.png" mode=""></image>
				<view class="font_20_333 font_weight text_center u-m-t-80">
					兑换成功
				</view>
				<view class="ckjf u-m-t-64" @click="back">
					查看剩余积分
				</view>
			</view>
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				type:''
			}
		},
		onLoad(e) {
			this.type = e.type
		},
		methods: {
			back(){
				// uni.navigateBack()
				uni.redirectTo({
					url:"/pages/mine/jifenList?type="+this.type
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.jf-s{
		width: 326rpx;
		height: 180rpx;
		margin: 0 auto;
	}
	.ckjf{
		width: 608rpx;
		height: 80rpx;
		background: linear-gradient( 177deg, #FFF7EA 0%, #ECA561 100%);
		border-radius: 48rpx 48rpx 48rpx 48rpx;
		font-weight: bold;
		font-size: 32rpx;
		color: #773E00;
		text-align: center;
		line-height: 80rpx;
	}
</style>
